home *** CD-ROM | disk | FTP | other *** search
- Path: francenet.fr!usenet
- From: sherlock@micronet.fr
- Newsgroups: comp.os.msdos.programmer,comp.lang.c
- Subject: Re: open vs fopen?
- Date: Wed, 07 Feb 1996 09:04:29 GMT
- Organization: Francenet -- Paris, France
- Message-ID: <4f8qbg$549@chleuasme.francenet.fr>
- References: <uEYFxc9nX8WX083yn@mbnet.mb.ca>
- NNTP-Posting-Host: ppp41.micronet.fr
- X-Newsreader: Forte Free Agent 1.0.82
-
- natewild@mbnet.mb.ca (Nathan T. Wild) wrote:
-
- >In C, why would one use open and DOS int handles rather than fopen and
- >stdio file handles?
-
- >Is there some speed advantage or differnet functionality?
-
- >
-
- >|--------------------------------------------------------------------|
- >| ooooO (``) (``) Ooooo | Nathan T. Wild |
- >| ( ) ) ( ) ( ( ) | natewild@mbnet.mb.ca |
- >| ) ( ( ) ( ) ) ( | ftp://ftp.mbnet.mb.ca/pub/natewild |
- >| (__) ooooO Ooooo (__) | http://www.mbnet.mb.ca/~natewild |
- >|--------------------------------------------------------------------|
-
-
- because files opened using open and DOS files handles can be read and
- write at the same time, while stdio files can't.
-
- suppose you have a database file, with fixed length fields.
- low level functions(open...) enable the writing of some records and
- the reading of other without closing the file.
-
-
-